/* 页面 数据模块
 * @ 劳兆城
 * @ 2017-08-05 */

import { Static } from 'api/config'

// 数据一张图-leftRead
export const leftReadDetails = [{
  img: `${Static}img/mapIcon/foshan.png`,
  name: '佛山河流',
  selected: false,
  children: [{
    name: '禅城',
    layer: 'chanchenLayer',
    img: `${Static}img/mapIcon/chanchen.png`,
    selected: false
  }, {
    name: '南海',
    layer: 'nanhaiLayer',
    img: `${Static}img/mapIcon/nanhai.png`,
    selected: false
  }, {
    name: '顺德',
    layer: 'shundeLayer',
    img: `${Static}img/mapIcon/shunde.png`,
    selected: false
  }, {
    name: '三水',
    layer: 'sanshuiLayer',
    img: `${Static}img/mapIcon/sanshui.png`,
    selected: false
  }, {
    name: '高明',
    layer: 'gaomingLayer',
    img: `${Static}img/mapIcon/gaoming.png`,
    selected: false
  }]
}, {
  id: 'weatherIng',
  img: `${Static}img/aPicture/leftReadMeteorological.png`,
  name: '水资源实时数据',
  selected: true,
  children: [{
    name: '水库蓄水监视',
    layer: 'nodataLayer',
    img: `${Static}img/mapIcon/rain.png`,
    selected: false
  }, {
    name: '供水单位日供水量',
    layer: 'nodataLayer1',
    img: `${Static}img/mapIcon/wind.png`,
    selected: false
  }, {
    name: '取水单位日取水量',
    layer: 'nodataLayer2',
    img: `${Static}img/mapIcon/temperature.png`,
    selected: false
  }, {
    name: '日降雨量',
    layer: 'nodataLayer3',
    img: `${Static}img/mapIcon/soilMoisture.png`,
    selected: false
  }/*, {
		name: '气象预警',
		layer: 'weatherWarningLayer',
		img: `${Static}img/mapIcon/weatherWarning.png`,
		selected: false,
		mustDelSearch: true
	}, {
		name: '台风',
		layer: 'typhoonLayer',
		img: `${Static}img/mapIcon/typhoon.png`,
		selected: false
	}, {
		name: '云图',
		layer: 'cloudLayer',
		img: `${Static}img/mapIcon/cloud.png`,
		selected: false
	}, {
		name: '雷达',
		layer: 'radarLayer',
		img: `${Static}img/mapIcon/radar.png`,
		selected: false
	} */]
}, {
  img: `${Static}img/aPicture/leftReadPlace.png`,
  name: '水环境实时数据',
  selected: false,
  children: [
    // {
    //   name: '饮用水水质监测',
    //   layer: 'nodataLayer5',
    //   img: `${Static}img/mapIcon/waterQuality.png`,
    //   selected: false,
    //   mustDelSearch: true
    // }, {
    {
      name: '水质监测',
      layer: 'waterQualityLayer',
      img: `${Static}img/mapIcon/waterQuality.png`,
      selected: false,
      mustDelSearch: true
    }
  ]
}, {
  img: `${Static}img/aPicture/leftReadEnvironmental.png`,
  name: '水污染实时数据',
  selected: false,
  children: [{
    name: '工业企业日排污染',
    layer: 'nodataLayer7',
    selected: false
  }, {
    name: '生活污染',
    layer: 'nodataLayer8',
    selected: false
  }, {
    name: '养殖污染',
    layer: 'nodataLayer9',
    selected: false
  }, {
    name: '农业污染',
    layer: 'nodataLayer10',
    selected: false
  }, {
    name: '船舶污染',
    layer: 'nodataLayer11',
    selected: false
  }, {
    name: '水政日常执法巡查',
    layer: 'nodataLayer12',
    selected: false
  }, {
    name: '公众实时投诉',
    layer: 'nodataLayer13',
    selected: false
  }]
}, {
  img: `${Static}img/aPicture/leftReadWater.png`,
  name: '水安全实时数据',
  selected: false,
  children: [{
    name: '水文站水位',
    layer: 'nodataLayer14',
    img: `${Static}img/mapIcon/waterNet.png`,
    selected: false
  }, {
    name: '河涌水质',
    layer: 'nodataLayer15',
    img: `${Static}img/mapIcon/drainPort.png`,
    selected: false,
    mustDelSearch: true
  }, /*, {
		name: '构建筑物',
		layer: 'buildingLayer',
		img: `${Static}img/mapIcon/building.png`,
		selected: false,
		mustDelSearch: true
	} */ {
    name: '雨量站监测',
    layer: 'nodataLayer16',
    img: `${Static}img/mapIcon/banks.png`,
    selected: false
  }, /*, {
		name: '涵闸',
		layer: 'waterGateLayer',
		img: `${Static}img/mapIcon/waterGate.png`,
		selected: false,
		mustDelSearch: true
	}, {
		name: '排灌站',
		layer: 'drainStationLayer',
		img: `${Static}img/mapIcon/drainStation.png`,
		selected: false,
		mustDelSearch: true
	} */ {
    name: '水闸水位',
    layer: 'nodataLayer17',
    img: `${Static}img/mapIcon/drainStation.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '水库水位',
    layer: 'nodataLayer18',
    img: `${Static}img/mapIcon/hydrology.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '内涝站水位',
    layer: 'nodataLayer19',
    img: `${Static}img/mapIcon/waterlogging.png`,
    selected: false,
    mustDelSearch: true
  }]
}, {
  id: 'waterLevelIng',
  img: `${Static}img/aPicture/leftReadWater.png`,
  name: '水资源基础数据',
  selected: false,
  children: [{
    name: '水库基本资料',
    layer: 'reservoirLayer',
    img: `${Static}img/mapIcon/reservoir.png`,
    selected: false,
    searchUrl: 'reservoirMajorInfo',
    mustDelSearch: true
  }, {
    name: '水功能区基本资料',
    layer: 'waterLevelLayer',
    img: `${Static}img/mapIcon/waterLevel.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '水文断面线',
    layer: 'drainStationLayer',
    img: `${Static}img/mapIcon/pump.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '污水处理厂',
    layer: 'tideGaugeLayer',
    img: `${Static}img/mapIcon/tideGauge.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '水闸',
    layer: 'gateLayer',
    img: `${Static}img/mapIcon/gate.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '泵站',
    layer: 'pumpLayer',
    img: `${Static}img/mapIcon/pump.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '电排站',
    layer: 'buildingLayer',
    img: `${Static}img/mapIcon/building.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '河流视频',
    layer: 'videoLayer',
    img: `${Static}img/mapIcon/waterGate.png`,
    selected: false,
    mustDelSearch: true
  }]
}, {
  img: `${Static}img/aPicture/leftReadTraffic.png`,
  name: '水环境基础数据',
  selected: false,
  children: [{
    name: '饮用水水源基本资料',
    layer: 'nodataLayer20',
    img: ``,
    selected: false
  }, {
    name: '河涌基本资料',
    layer: 'nodataLayer21',
    img: ``,
    selected: false
  }, {
    name: '排污口基本资料',
    layer: 'nodataLayer22',
    img: ``,
    selected: false
  }, {
    name: '构建筑物资料',
    layer: 'nodataLayer23',
    img: ``,
    selected: false
  }, {
    name: '水质监测点基本资料',
    layer: 'nodataLayer24',
    img: ``,
    selected: false
  }]
}, {
  img: `${Static}img/aPicture/leftReadWater.png`,
  name: '水安全基础数据',
  selected: false,
  children: [{
    name: '佛山水网',
    layer: 'waterNetLayer',
    img: `${Static}img/mapIcon/waterNet.png`,
    selected: false
  }, {
    name: '污染源',
    layer: 'pollutionLayer',
    img: `${Static}img/mapIcon/radar.png`,
    selected: false
  }, {
    name: '排水口',
    layer: 'drainPortLayer',
    img: `${Static}img/mapIcon/drainPort.png`,
    selected: false,
    mustDelSearch: true
  }, /*, {
		name: '构建筑物',
		layer: 'buildingLayer',
		img: `${Static}img/mapIcon/building.png`,
		selected: false,
		mustDelSearch: true
	} */ {
    name: '堤围',
    layer: 'banksLayer',
    img: `${Static}img/mapIcon/banks.png`,
    selected: false
  }, {
    name: '险段',
    layer: 'criticalsLayer',
    img: `${Static}img/mapIcon/criticals.png`,
    selected: false
  }, /*, {
		name: '涵闸',
		layer: 'waterGateLayer',
		img: `${Static}img/mapIcon/waterGate.png`,
		selected: false,
		mustDelSearch: true
	}, {
		name: '排灌站',
		layer: 'drainStationLayer',
		img: `${Static}img/mapIcon/drainStation.png`,
		selected: false,
		mustDelSearch: true
	} */ {
    name: '雨量站',
    layer: 'yuliangLayer',
    img: `${Static}img/mapIcon/drainStation.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '水文站',
    layer: 'hydrologyLayer',
    img: `${Static}img/mapIcon/hydrology.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '内涝站',
    layer: 'waterloggingLayer',
    img: `${Static}img/mapIcon/waterlogging.png`,
    selected: false,
    mustDelSearch: true
  }]
}, {
  img: `${Static}img/aPicture/leftReadEnvironmental.png`,
  name: '水污染基础数据',
  selected: false,
  children: [{
    name: '水污染单位基本资料',
    layer: 'nodataLayer26',
    img: `${Static}img/mapIcon/waterQuality.png`,
    selected: false,
    mustDelSearch: true
  }]
}, {
  img: `${Static}img/aPicture/leftReadPlace.png`,
  name: '水生态基础数据',
  selected: false,
  children: [{
    name: '水生态区基本资料',
    layer: 'nodataLayer27',
    img: `${Static}img/mapIcon/rusticate.png`,
    selected: false,
    mustDelSearch: true
  }, {
    name: '水生生物资源基本资料',
    layer: 'nodataLayer28',
    img: `${Static}img/mapIcon/blackPoint.png`,
    selected: false,
    mustDelSearch: true
  }]
}, {
  img: `${Static}img/aPicture/leftReadCommand.png`,
  name: '水域岸线基础数据',
  selected: false,
  children: [{
    name: '水域岸线基本资料',
    layer: 'nodataLayer29',
    img: `${Static}img/mapIcon/emergencySquad.png`,
    selected: false,
    mustDelSearch: true
  }]
}, {
  img: `${Static}img/aPicture/leftReadCommand.png`,
  name: '水政执法基础数据',
  selected: false,
  children: [{
    name: '水政执法法规依据',
    layer: 'nodataLayer30',
    img: `${Static}img/mapIcon/refuge.png`,
    selected: false,
    mustDelSearch: true
  }]
}
  // {
  //	img: `${Static}img/aPicture/leftReadCommand.png`,
  //	name: '三防部门',
  //	selected: false,
  //	children: [{
  //		name: '部门信息',
  //		layer: 'sectorInformationLayer',
  //		img: `${Static}img/mapIcon/sectorInformation.png`,
  //		selected: false,
  //		mustDelSearch: true
  //	}]
  // },
]

// export const leftReadDetails = [{
//	id: 'weatherIng',
//	img: `${Static}img/aPicture/leftReadMeteorological.png`,
//	name: '气象',
//	selected: true,
//	children: [{
//		name: '雨',
//		layer: 'rainLayer',
//		img: `${Static}img/mapIcon/rain.png`,
//		selected: false
//	}, {
//		name: '风力风向',
//		layer: 'windLayer',
//		img: `${Static}img/mapIcon/wind.png`,
//		selected: false
//	}, {
//		name: '温度',
//		layer: 'temperatureLayer',
//		img: `${Static}img/mapIcon/temperature.png`,
//		selected: false
//	}, {
//		name: '土壤湿度',
//		layer: 'soilMoistureLayer',
//		img: `${Static}img/mapIcon/soilMoisture.png`,
//		selected: false
//	}, {
//		name: '气象预警',
//		layer: 'weatherWarningLayer',
//		img: `${Static}img/mapIcon/weatherWarning.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '台风',
//		layer: 'typhoonLayer',
//		img: `${Static}img/mapIcon/typhoon.png`,
//		selected: false
//	}, {
//		name: '云图',
//		layer: 'cloudLayer',
//		img: `${Static}img/mapIcon/cloud.png`,
//		selected: false
//	}, {
//		name: '雷达',
//		layer: 'radarLayer',
//		img: `${Static}img/mapIcon/radar.png`,
//		selected: false
//	}]
// }, {
//	id: 'waterLevelIng',
//	img: `${Static}img/aPicture/leftReadWater.png`,
//	name: '实时水利',
//	selected: false,
//	children: [{
//		name: '水库',
//		layer: 'reservoirLayer',
//		img: `${Static}img/mapIcon/reservoir.png`,
//		selected: false,
//		searchUrl: 'reservoirMajorInfo',
//		mustDelSearch: true
//	}, {
//		name: '水闸',
//		layer: 'gateLayer',
//		img: `${Static}img/mapIcon/gate.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '泵站',
//		layer: 'pumpLayer',
//		img: `${Static}img/mapIcon/pump.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '内涝站',
//		layer: 'waterloggingLayer',
//		img: `${Static}img/mapIcon/waterlogging.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '水位站',
//		layer: 'waterLevelLayer',
//		img: `${Static}img/mapIcon/waterLevel.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '水文站',
//		layer: 'hydrologyLayer',
//		img: `${Static}img/mapIcon/hydrology.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '潮位站',
//		layer: 'tideGaugeLayer',
//		img: `${Static}img/mapIcon/tideGauge.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadTraffic.png`,
//	name: '交通',
//	selected: false,
//	children: [{
//		name: '路况',
//		layer: 'trafficLayer',
//		img: `${Static}img/mapIcon/trafficGreen.png`,
//		selected: false
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadEnvironmental.png`,
//	name: '环境',
//	selected: false,
//	children: [{
//		name: '水质',
//		layer: 'waterQualityLayer',
//		img: `${Static}img/mapIcon/waterQuality.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '污染源',
//		layer: 'pollutionSourceLayer',
//		img: `${Static}img/mapIcon/pollutionSource.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '空气质量',
//		layer: 'airQualityLayer',
//		img: `${Static}img/mapIcon/airQuality.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadSupervise.png`,
//	name: '监管对象',
//	selected: false,
//	children: [{
//		name: '建筑工地',
//		layer: 'constructionSiteLayer',
//		img: `${Static}img/mapIcon/constructionSite.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '船舶',
//		layer: 'shipLayer',
//		img: `${Static}img/mapIcon/ship.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '危险品',
//		layer: 'dangerousGoodsLayer',
//		img: `${Static}img/mapIcon/dangerousGoods.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadWater.png`,
//	name: '基础水利',
//	selected: false,
//	children: [{
//		name: '佛山水网',
//		layer: 'waterNetLayer',
//		img: `${Static}img/mapIcon/waterNet.png`,
//		selected: false
//	}, {
//		name: '排水口',
//		layer: 'drainPortLayer',
//		img: `${Static}img/mapIcon/drainPort.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '构建筑物',
//		layer: 'buildingLayer',
//		img: `${Static}img/mapIcon/building.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '堤围',
//		layer: 'banksLayer',
//		img: `${Static}img/mapIcon/banks.png`,
//		selected: false
//	}, {
//		name: '险段',
//		layer: 'criticalsLayer',
//		img: `${Static}img/mapIcon/criticals.png`,
//		selected: false
//	}, {
//		name: '涵闸',
//		layer: 'waterGateLayer',
//		img: `${Static}img/mapIcon/waterGate.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '排灌站',
//		layer: 'drainStationLayer',
//		img: `${Static}img/mapIcon/drainStation.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadWaterpipe.png`,
//	name: '供排水',
//	selected: false,
//	children: [{
//		name: '水浸黑点',
//		layer: 'blackPointLayer',
//		img: `${Static}img/mapIcon/blackPoint.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '下沉隧道',
//		layer: 'sunkenTunnelLayer',
//		img: `${Static}img/mapIcon/sunkenTunnel.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '供水管网',
//		layer: 'supplyPipeLayer',
//		img: `${Static}img/mapIcon/supplyPipe.png`,
//		selected: false
//	}, {
//		name: '自来水厂',
//		layer: 'waterFactoryLayer',
//		img: `${Static}img/mapIcon/waterFactory.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '供水设施',
//		layer: 'supplyDeviceLayer',
//		img: `${Static}img/mapIcon/supplyDevice.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '排水管',
//		layer: 'drainPipeLayer',
//		img: `${Static}img/mapIcon/drainPipe.png`,
//		selected: false
//	}, {
//		name: '污水厂',
//		layer: 'dirtyFactoryLayer',
//		img: `${Static}img/mapIcon/dirtyFactory.png`,
//		selected: false,
//		searchUrl: 'wasterFactoryInfo',
//		mustDelSearch: true
//	}, {
//		name: '排水设施',
//		layer: 'drainDeviceLayer',
//		img: `${Static}img/mapIcon/drainDevice.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadCommand.png`,
//	name: '三防',
//	selected: false,
//	children: [{
//		name: '村居',
//		layer: 'rusticateLayer',
//		img: `${Static}img/mapIcon/rusticate.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '路网',
//		layer: 'roadNetLayer',
//		img: `${Static}img/mapIcon/road.png`,
//		selected: false
//	}, {
//		name: '地质灾害',
//		layer: 'hazardLayer',
//		img: `${Static}img/mapIcon/hazard.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadPlace.png`,
//	name: '重点场所',
//	selected: false,
//	children: [{
//		name: '医院',
//		layer: 'hospitalLayer',
//		img: `${Static}img/mapIcon/hospital.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '学校',
//		layer: 'schoolLayer',
//		img: `${Static}img/mapIcon/school.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '银行',
//		layer: 'bankLayer',
//		img: `${Static}img/mapIcon/bank.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '客运站',
//		layer: 'busStationLayer',
//		img: `${Static}img/mapIcon/busStation.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '商场',
//		layer: 'shopLayer',
//		img: `${Static}img/mapIcon/shop.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadDepartment.png`,
//	name: '部门',
//	selected: false,
//	children: [{
//		name: '部门信息',
//		layer: 'sectorInformationLayer',
//		img: `${Static}img/mapIcon/sectorInformation.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadCommand.png`,
//	name: '三防人员',
//	selected: false,
//	children: [{
//		name: '抢险队',
//		layer: 'emergencySquadLayer',
//		img: `${Static}img/mapIcon/emergencySquad.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '救援队',
//		layer: 'rescueTeamLayer',
//		img: `${Static}img/mapIcon/rescueTeam.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '群众热力分布',
//		layer: 'massHeatLayer',
//		img: `${Static}img/mapIcon/massHeat.png`,
//		selected: false
//	}, {
//		name: '重点人员实时位置',
//		layer: 'liabilityPersonLayer',
//		img: `${Static}img/mapIcon/liabilityPerson.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '三防专家实时位置',
//		layer: 'defenseExpertLayer',
//		img: `${Static}img/mapIcon/defenseExpert.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadPlace.png`,
//	name: '三防场所',
//	selected: false,
//	children: [{
//		name: '避难所',
//		layer: 'refugeLayer',
//		img: `${Static}img/mapIcon/refuge.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '物资仓库',
//		layer: 'emergencyLayer',
//		img: `${Static}img/mapIcon/emergency.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }, {
//	img: `${Static}img/aPicture/leftReadRealtime.png`,
//	name: '视频监控',
//	selected: false,
//	children: [{
//		name: '气象实况',
//		layer: 'weatherVideoLayer',
//		img: `${Static}img/mapIcon/waterProjectVideo.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '治安监控',
//		layer: 'policVideoLayer',
//		img: `${Static}img/mapIcon/waterProjectVideo.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '西江',
//		layer: 'westRiverVideoLayer',
//		img: `${Static}img/mapIcon/waterProjectVideo.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '污染源',
//		layer: 'pollutionVideoLayer',
//		img: `${Static}img/mapIcon/waterProjectVideo.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '水利工程',
//		layer: 'waterProjectVideoLayer',
//		img: `${Static}img/mapIcon/waterProjectVideo.png`,
//		selected: false,
//		mustDelSearch: true
//	}, {
//		name: '避难所',
//		layer: 'refugeVideoLayer',
//		img: `${Static}img/mapIcon/waterProjectVideo.png`,
//		selected: false,
//		mustDelSearch: true
//	}]
// }]

// 台风路径 强度 图例
export const typhoonStrongLegend = [{
  img: `${Static}img/aPicture/typhoonCenterGreen.png`,
  name: '热带低压(TD)',
  imgPosition: '0 0',
  color: '#00ff03'
}, {
  img: `${Static}img/aPicture/typhoonCenterBlue.png`,
  name: '热带风暴(TS)',
  imgPosition: '-35px 0',
  color: '#0062fe'
}, {
  img: `${Static}img/aPicture/typhoonCenterYellow.png`,
  name: '强热带风暴(STS)',
  imgPosition: '-70px 0',
  color: '#fdfa00'
}, {
  img: `${Static}img/aPicture/typhoonCenterOrange.png`,
  name: '台风(TY)',
  imgPosition: '-105px 0',
  color: '#fdac03'
}, {
  img: `${Static}img/aPicture/typhoonCenterPink.png`,
  name: '强台风(STY)',
  imgPosition: '-140px 0',
  color: '#f072f6'
}, {
  img: `${Static}img/aPicture/typhoonCenterRed.png`,
  name: '超强台风(Super TY)',
  imgPosition: '-175px 0',
  color: '#fd0002'
}]

// 台风路径 预测台 图例
export const typhoonForecastLegend = [{
  color: 'rgb(255, 64, 80)',
  pointColor: 'rgb(253, 172, 3)',
  name: '中国'
}, {
  color: 'rgb(67, 255, 75)',
  pointColor: 'rgb(238, 238, 238)',
  name: '日本'
}, {
  color: 'rgb(64, 221, 255)',
  pointColor: 'rgb(253, 250, 0)',
  name: '美国'
}, {
  color: 'rgb(102, 153, 153)',
  pointColor: 'rgb(255, 64, 80)',
  name: '韩国'
}, {
  color: 'rgb(24, 92, 186)',
  pointColor: 'rgb(240, 114, 1)',
  name: '欧洲'
}, {
  color: 'rgb(255, 102, 255)',
  pointColor: 'rgb(7, 81, 10)',
  name: '中国香港'
}, {
  color: 'rgb(255, 160, 64)',
  pointColor: 'rgb(0, 98, 254)',
  name: '中国台湾'
}]

// 智慧水务首页 配置信息
export const homeSystemArr = [{
  name: '水利三防信息平台',
  img: `${Static}img/home/system3.png`,
  href: 'http://10.168.11.44',
  className: 'threeCommand'
}, {
  name: '三防指挥',
  img: `${Static}img/home/system4.png`,
  href: '/threeCommandLogin',
  className: 'threeCommand',
  isRouter: true
},
//, {
//	name: '三防综合业务',
//	img: `${Static}img/home/system5.png`,
//	href: '',
//	className: 'application'
// }
{
  name: '三防指挥数据整合与支撑平台',
  img: `${Static}img/home/system6.png`,
  href: 'http://10.168.80.9:8082/WaterConsole/#/login',
  className: 'threeCommand'
}, {
  name: '内涝在线监控',
  img: `${Static}img/home/system7.png`,
  href: 'http://183.238.82.216:9090/WaterWeb/#/login',
  className: 'application'
}, {
  name: '大屏发布系统',
  img: `${Static}img/home/system5.png`,
  href: 'http://10.168.80.9:8082/bigscreen/manager/login.html',
  className: 'data'
}, {
  name: '数据统计图表',
  img: `${Static}img/home/system2.png`,
  href: '',
  className: 'data'
}, {
  name: '水资源调度',
  img: `${Static}img/home/system8.png`,
  href: 'http://183.62.183.158:8070/xqSystem/#/login',
  className: 'resource'
}, {
  name: '水政管理',
  img: `${Static}img/home/system9.png`,
  href: '',
  className: 'resource'
}, {
  name: '内河涌管理',
  img: `${Static}img/home/system10.png`,
  href: 'http://183.238.82.210:8090/nh/login',
  className: 'resource'
}, {
  name: '水土保持',
  img: `${Static}img/home/system11.png`,
  href: '',
  className: 'resource'
}, {
  name: '水生态环境',
  img: `${Static}img/home/system12.png`,
  href: '',
  className: 'project'
}, {
  name: '防洪环境',
  img: `${Static}img/home/system13.png`,
  href: '',
  className: 'project'
}, {
  name: '供排水工程',
  img: `${Static}img/home/system14.png`,
  href: '',
  className: 'project'
}, {
  name: '供水企业',
  img: `${Static}img/home/system15.png`,
  href: '',
  className: 'industry'
}, {
  name: '取水排污企业',
  img: `${Static}img/home/system16.png`,
  href: '',
  className: 'industry'
}, {
  name: '污水处理',
  img: `${Static}img/home/system17.png`,
  href: '',
  className: 'industry'
}, {
  name: '供排水管理',
  img: `${Static}img/home/system18.png`,
  href: '',
  className: 'industry'
}]

// 数据一张图-内河涌-水质情况-取样结果图例
export function filterWaterQualityLegend (arr) {
  arr.map(function (item, index) {
    if (index % 8 === 1) {
      item['I'] = '6~9'
      item['II'] = '6~9'
      item['III'] = '6~9'
      item['IV'] = '6~9'
      item['V'] = '6~9'
      item['lV'] = '劣V'
    } else if (index % 8 === 2) {
      item['I'] = '无标准'
      item['II'] = '无标准'
      item['III'] = '无标准'
      item['IV'] = '无标准'
      item['V'] = '无标准'
      item['lV'] = '无标准'
    } else if (index % 8 === 3) {
      item['I'] = '15'
      item['II'] = '15'
      item['III'] = '20'
      item['IV'] = '30'
      item['V'] = '40'
      item['lV'] = '劣V'
    } else if (index % 8 === 4) {
      item['I'] = '3'
      item['II'] = '3'
      item['III'] = '4'
      item['IV'] = '6'
      item['V'] = '10'
      item['lV'] = '劣V'
    } else if (index % 8 === 5) {
      item['I'] = '0.15'
      item['II'] = '0.5'
      item['III'] = '1.0'
      item['IV'] = '1.5'
      item['V'] = '2.0'
      item['lV'] = '劣V'
    } else if (index % 8 === 6) {
      item['I'] = '0.02'
      item['II'] = '0.1'
      item['III'] = '0.2'
      item['IV'] = '0.3'
      item['V'] = '0.4'
      item['lV'] = '劣V'
    } else if (index % 8 === 7) {
      item['I'] = '无标准'
      item['II'] = '无标准'
      item['III'] = '无标准'
      item['IV'] = '无标准'
      item['V'] = '无标准'
      item['lV'] = '无标准'
    }
  })
  return arr
}
